<?php
session_start();

require_once 'lib/ServicoPessoa.php';

//print(ServicoPessoa::trocaDelegacao($_REQUEST["cpf"], $_REQUEST["delegacao"]));


$_SESSION["Erro"] = ServicoPessoa::trocaDelegacao($_REQUEST["cpf"], $_REQUEST["delegacao"]);

header("location: index2.php");

?>
